package com.vcredit.creditcat.manager;

import com.alibaba.dubbo.config.annotation.Service;
import com.vcredit.creditcat.api.IClickLogManager;
import com.vcredit.creditcat.service.ClickLogProducerService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by liaoshengjun on 2017/7/25.
 */
@Service(protocol = { "protocol1" }, version = "1.0")
public class ClickLogManager implements IClickLogManager{
	@Autowired
	private ClickLogProducerService producerService;

	/**
	 * 记录点击日志
	 * @param custId
	 * @param logType
	 * @param clickLogData
	 */
	@Override
	public void recordClickLog(Long custId, String logType, String clickLogData) {
		producerService.setClickData(custId,logType,clickLogData);
	}
}
